package com.woniuxy.dudugua.service;

import com.woniuxy.dudugua.entity.Coupon;
import com.woniuxy.dudugua.util.view.AdminOrderView;

import java.util.List;

/**
 * 管理员业务层
 */
public interface AdminService {
    List<AdminOrderView> selectAllOrder(Integer index,Integer number)throws Exception;
    List<Coupon> selectAllCoupons(Integer index,Integer number)throws Exception;
    long selectOrderCount()throws Exception;
    long selectCouponCount()throws Exception;
}
